User Guides > PCC with Legacy Services (Proxy Server) > How To's for PCC with Legacy Services (Proxy Server) > How To's - for the Imaging Service > How to Install Microsoft Fonts on Linux |
This guide explains how to install the following Microsoft fonts on Linux: Arial, Comic Sans MS, Courier New, Georgia, Impact, Times New Roman, Trebuchet MS, Webdings, Verdana, Wingdings, Tahoma, Lucida, and Calibri.
An additional section below details the installation of Chinese, Japanese, Korean and Indic specific fonts. |
Install tools:
Example |
Copy Code
|
---|---|
# yum install rpm-build # yum install ttmkfdir # yum install xfs # yum install chkfontpath |
The latter two commands are not required when installing to the newer systems (CentOS 6.* / Redhat 6.*)
Install CABExtract tool:
Example |
Copy Code
|
---|---|
# yum install cabextract |
Example |
Copy Code
|
---|---|
# wget http://centos.karan.org/el4/extras/stable/i386/RPMS/cabextract-1.1-2.i386.rpm
# rpm -ihv cabextract-1.1-2.i386.rpm
|
For a 64-bit system use: http://centos.karan.org/el4/extras/stable/x86_64/RPMS/cabextract-1.1-2.x86_64.rpm. |
Install MSTTCoreFonts:
Example |
Copy Code
|
---|---|
# wget http://corefonts.sourceforge.net/msttcorefonts-2.5-1.spec
# rpmbuild -ba msttcorefonts-2.5-1.spec
|
If above rpmbuild command is successful it writes few lines before the end the messages similar to:
Example |
Copy Code
|
---|---|
Wrote: /usr/src/redhat/SRPMS/msttcorefonts-2.5-1.src.rpm Wrote: /usr/src/redhat/RPMS/noarch/msttcorefonts-2.5-1.noarch.rpm |
Check for the path where msttcorefonts-2.5-1.noarch.rpm is located as the result of rpmbuild command above. Use that path in the next command:
Example |
Copy Code
|
---|---|
# yum localinstall --nogpgcheck /usr/src/redhat/RPMS/noarch/msttcorefonts-2.5-1.noarch.rpm |
The command above should finish with the message similar to:
Example |
Copy Code
|
---|---|
Installed: msttcorefonts.noarch 0:2.5-1 |
To install the fonts you need to download Microsoft PowerPoint Viewer 2007 from this location:
Using cabextract utility only the specific ppviewer.cab package will be extracted from the file PowerPointViewer.exe. The file contains Vista and Microsoft Office fonts that will be used for the local installation:
Example |
Copy Code
|
---|---|
# cabextract -F ppviewer.cab PowerPointViewer.exe
# mkdir /usr/share/fonts/ppt
# cabextract -F '*.TT?' -d /usr/share/fonts/ppt ppviewer.cab
|
Example |
Copy Code
|
---|---|
# fc-cache -fv |
Example |
Copy Code
|
---|---|
# /usr/share/prizm/scripts/pccis.sh restart |
Example |
Copy Code
|
---|---|
# sudo apt-get -y install msttcorefonts
|
To install the fonts you need to download Microsoft PowerPoint Viewer 2007 from this location:
Using cabextract utility only the specific ppviewer.cab package will be extracted from the file PowerPointViewer.exe. The file contains Vista and Microsoft Office fonts that will be used for the local installation:
Example |
Copy Code
|
---|---|
# sudo apt-get install cabextract # sudo cabextract -F ppviewer.cab PowerPointViewer.exe # sudo mkdir /usr/share/fonts/ppt # sudo cabextract -F '*.TT?' -d /usr/share/fonts/ppt ppviewer.cab |
Example |
Copy Code
|
---|---|
# sudo fc-cache -fv |
Example |
Copy Code
|
---|---|
# sudo /usr/share/prizm/scripts/proxyserver.sh restart |
Example |
Copy Code
|
---|---|
# sudo apt-get -y update # sudo apt-get -y install python-software-properties # sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" # sudo apt-get -y update |
Example |
Copy Code
|
---|---|
# sudo apt-get -y install ttf-arphic-ukai # sudo apt-get -y install ttf-arphic-uming # sudo apt-get -y install ttf-arphic-gbsn00lp # sudo apt-get -y install ttf-arphic-bkai00mp # sudo apt-get -y install ttf-arphic-bsmi00lp # sudo apt-get -y install ttf-arphic-gkai00mp # sudo apt-get -y install ttf-wqy-zenhei # sudo apt-get -y install ttf-sazanami-mincho # sudo apt-get -y install ttf-sazanami-gothic # sudo apt-get -y install ttf-unfonts-core # sudo apt-get -y install ttf-unfonts-extra # sudo apt-get -y install ttf-unfonts # sudo apt-get -y install ttf-takao # sudo apt-get -y install ttf-kochi-gothic # sudo apt-get -y install ttf-kochi-mincho # sudo apt-get -y install ttf-baekmuk # sudo apt-get -y install ttf-indic-fonts # sudo apt-get -y install ttf-tmuni # sudo apt-get -y install ttf-dzongkha # sudo apt-get -y install ttf-khmeros # sudo apt-get -y install ttf-jura # sudo apt-get -y install ttf-sinhala-lklug # sudo apt-get -y install ttf-sil-padauk |
Example |
Copy Code
|
---|---|
# sudo fc-cache -fv |
Example |
Copy Code
|
---|---|
# sudo /usr/share/prizm/scripts/proxyserver.sh restart |